package com.yc.config;

/**
 * @author kukaha
 */
public class FilterConfig {

//    @Bean
//    public FilterRegistrationBean<ExceptionFilter> exceptionFilterRegistration() {
//        FilterRegistrationBean<ExceptionFilter> registration = new FilterRegistrationBean<>();
//        registration.setFilter(new ExceptionFilter());
//        registration.setName("exceptionFilter");
//        /* 这个序号要很小，保证 exceptionFilter 是所有过滤器链的入口 */
//        registration.setOrder(Integer.MIN_VALUE);
//        return registration;
//    }


}
